<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>我的购物车-妆炫商城</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="shortcut icon" href="/images/qq.png"/>
	<link rel="stylesheet" href="/css/bootstrap.min.css">
	<link rel="stylesheet" href="/css/common.css">
	<link rel="stylesheet" href="/css/carts.css">
	<base target="_blank">
<body>
	<header></header>
	<div class="container">
		<div class="empty"><h1>去<a href="/index.html">商城首页</a>买点东西</h1></div>
		<table border="1" class="table table-bordered table-striped table-hover cart_tab">
			<thead>
				<tr>
					<th><label><input type="checkbox" id="ck_all">全选</label></th>
					<th>发货订单</th>
					<th>单价</th>
					<th>数量</th>
					<th>小计</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody class="tb">
			<script type="text/html" id="cart_temp">
				{{each products curr}}
				<tr data-id="{{ curr.id }}">
					<td><input type="checkbox" class="ck_prod"></td>
					<td class="img"><img src="{{curr.img}}">
						<span class="desc">{{curr.desc}}</span>
					</td>
					<td class="price">￥{{curr.price}}</td>
					<td class="amount"><span class="jian">-</span><input type="text" value="{{curr.amount}}" class="a_amount"><span class="jia">+</span></td>
					<td class="xiaoji">￥{{curr.price*curr.amount}}</td>
					<td class="caozuo"><a href="javascript:;" class="del">删除</a></td>
				</tr>
				{{/each}}
			</script>
			</tbody>
			<tfoot>
				<tr>
					<td></td>
					<td></td>
					<td></td>
					<td></td>
					<td></td>
					<td colspan="6" class="all_amount" style = "width:150px;"><b>待结算<i class="cart_s">0</i>件商品</b><br><em>合计：<span class="heji">0.00</span></em></td>
				</tr>
				<tr>	
					<td colspan="5"><a href="/index.html">继续够买>>></a></td>
					<td colspan="1"><a href="/html/confirm.html" class="confirm btn btn-danger">结算</a></td>
				</tr>
				
			</tfoot>
		</table>
	</div>
	<footer></footer>
	<script src="/lib/requirejs/require.js" data-main="/js/carts.js"></script>
</body>
</html>